package com.hbnu.thread;

/**
 * @author kittychen
 * @since 2025-10-27 19:54
 */
public class TreadTest3 {

    public static void main(String[] args) {
        Box box = new Box();

        new Thread(new Product(box), "蒙牛加工厂").start();
        new Thread(new Consumer(box), "小张同学").start();
    }
}
